package com.swak.sql;

import com.swak.parser.lexer.LexerEngine;
import com.swak.utils.JDBCDrivers;

public class LexerTest2 {

	public static void main(String[] args) {
		String sql = "SelEct * FROM XXX_TABLE /*! hint 1 \\n xxx */ WHERE XX>1 /*!hint 2*/";
		LexerEngine engine = LexerEngine.newInstance(JDBCDrivers.MYSQL, sql);
		engine.nextToken();
		System.out.println(engine.getCurrentToken().getLiterals());
	}
}
